﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BookStore
{

    class Program
    {
         static void Main(string[] args)
        {
            try 
            {
                while (Menus.choise != 999)
                {
                    Menus.Menu();
                }
            }
            catch (InvalidCastException e) 
            {
                throw (e);
            }
            finally
            {
                Console.ReadLine();
            }
        }
    }
}
